package com.zelix;

import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import java.util.EventObject;

final class c extends KeyAdapter {

    private final g1 a;

    c(g1 g1_1) {
        a = g1_1;
    }

    public void keyPressed(KeyEvent keyevent) {
        if (keyevent.getKeyCode() == 10) {
            a.b();
            Object obj = keyevent.getSource();
            if (obj == a.g) {
                a.c.a(a.d, a.e, a.f);
            } else {
                a.c.a();
            }
        }
    }
}